package com.mind.login.msg;
import java.util.List;
import java.util.ArrayList;
import com.mind.common.MessageCode;
import com.mind.core.net.msg.BaseMessage;
import java.util.Date;
/**创建新协议
*自动生成类
*/
public class LoginMessage extends BaseMessage{
	/***/
	private String name;
	public LoginMessage(){}
	public LoginMessage(String name){
	  this.name=name;
	}
	/**获取*/
	public String getName(){
		return this.name;
	}
	public boolean readImpl() {
		this.name=readString();
		return true;
	}
	public boolean writeImpl() {
		writeString(this.name);
		return true;
	}
	public short getMessageType() {
		return MessageCode.LoginMessage_CODE;
	}
}
